home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / alaskan-adversary.swf / scripts / frame_38 / PlaceObject2_803_210 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2008-09-11  |  15.0 KB  |  390 lines

  1. onClipEvent(enterFrame){
  2.    function ┬º\x01\x02┬º()
  3.    {
  4.       return 1727 % 511 * 5;
  5.    }
  6.    var ┬º\x01┬º = -218 + "\x01\x02"();
  7.    while(true)
  8.    {
  9.       if(eval("\x01") == 752)
  10.       {
  11.          set("\x01",eval("\x01") - 186);
  12.          ┬º┬ºpush(true);
  13.       }
  14.       else if(eval("\x01") == 917)
  15.       {
  16.          set("\x01",eval("\x01") - 724);
  17.          if(function ┬º\x01\x02┬º()
  18.          {
  19.             return 1727 % 511 * 5;
  20.          })
  21.          {
  22.             set("\x01",eval("\x01") + 601);
  23.          }
  24.       }
  25.       else
  26.       {
  27.          if(eval("\x01") == 794)
  28.          {
  29.             set("\x01",eval("\x01") - 558);
  30.             set("{invalid_utf8=177}L",new ┬º\x17)┬º(eval("ah{invalid_utf8=217}-")));
  31.             eval("{invalid_utf8=177}L")["%▐│"]("{invalid_utf8=131}{invalid_utf8=240}\x07");
  32.             set(┬º┬ºconstant(5),new ┬º\x17)┬º(eval("ah{invalid_utf8=217}-")));
  33.             eval(┬º┬ºconstant(5))["%▐│"](┬º┬ºconstant(6));
  34.             if(!eval(┬º┬ºconstant(7))[┬º┬ºconstant(8)])
  35.             {
  36.                set(┬º┬ºconstant(9),eval(┬º┬ºconstant(9)) + 1);
  37.                setProperty(┬º┬ºconstant(10), _Y, getProperty(┬º┬ºconstant(10), _Y) + eval(┬º┬ºconstant(9)));
  38.                while(eval(┬º┬ºconstant(7))[┬º┬ºconstant(11)][┬º┬ºconstant(12)](getProperty(┬º┬ºconstant(10), _X),getProperty(┬º┬ºconstant(10), _Y),true))
  39.                {
  40.                   getProperty(┬º┬ºconstant(10), _Y)--;
  41.                   set(┬º┬ºconstant(9),0);
  42.                }
  43.                set(┬º┬ºconstant(13),function()
  44.                {
  45.                   if(_root[┬º┬ºconstant(15)][┬º┬ºconstant(12)](_root[┬º┬ºconstant(14)]))
  46.                   {
  47.                      _root[┬º┬ºconstant(14)][┬º┬ºconstant(17)](┬º┬ºconstant(16));
  48.                      _global[┬º┬ºconstant(18)] += 1;
  49.                      if(_global[┬º┬ºconstant(19)] == 1)
  50.                      {
  51.                         eval(┬º┬ºconstant(5))[┬º┬ºconstant(20)]();
  52.                      }
  53.                   }
  54.                   if(_root[┬º┬ºconstant(15)][┬º┬ºconstant(12)](_root[┬º┬ºconstant(21)]))
  55.                   {
  56.                      _root[┬º┬ºconstant(21)][┬º┬ºconstant(17)](┬º┬ºconstant(16));
  57.                      _global[┬º┬ºconstant(18)] += 1;
  58.                      if(_global[┬º┬ºconstant(19)] == 1)
  59.                      {
  60.                         eval(┬º┬ºconstant(5))[┬º┬ºconstant(20)]();
  61.                      }
  62.                   }
  63.                   if(_root[┬º┬ºconstant(15)][┬º┬ºconstant(12)](_root[┬º┬ºconstant(22)]))
  64.                   {
  65.                      _root[┬º┬ºconstant(22)][┬º┬ºconstant(17)](┬º┬ºconstant(16));
  66.                      _global[┬º┬ºconstant(18)] += 1;
  67.                      if(_global[┬º┬ºconstant(19)] == 1)
  68.                      {
  69.                         eval(┬º┬ºconstant(5))[┬º┬ºconstant(20)]();
  70.                      }
  71.                   }
  72.                   if(_root[┬º┬ºconstant(15)][┬º┬ºconstant(12)](_root[┬º┬ºconstant(23)]))
  73.                   {
  74.                      _root[┬º┬ºconstant(23)][┬º┬ºconstant(17)](┬º┬ºconstant(16));
  75.                      _global[┬º┬ºconstant(18)] += 1;
  76.                      if(_global[┬º┬ºconstant(19)] == 1)
  77.                      {
  78.                         eval(┬º┬ºconstant(5))[┬º┬ºconstant(20)]();
  79.                      }
  80.                   }
  81.                   if(_root[┬º┬ºconstant(15)][┬º┬ºconstant(12)](_root[┬º┬ºconstant(24)]))
  82.                   {
  83.                      _root[┬º┬ºconstant(24)][┬º┬ºconstant(17)](┬º┬ºconstant(16));
  84.                      _global[┬º┬ºconstant(18)] += 1;
  85.                      if(_global[┬º┬ºconstant(19)] == 1)
  86.                      {
  87.                         eval(┬º┬ºconstant(5))[┬º┬ºconstant(20)]();
  88.                      }
  89.                   }
  90.                   if(_root[┬º┬ºconstant(15)][┬º┬ºconstant(12)](_root[┬º┬ºconstant(25)]))
  91.                   {
  92.                      _root[┬º┬ºconstant(25)][┬º┬ºconstant(17)](┬º┬ºconstant(16));
  93.                      _global[┬º┬ºconstant(18)] += 1;
  94.                      if(_global[┬º┬ºconstant(19)] == 1)
  95.                      {
  96.                         eval(┬º┬ºconstant(5))[┬º┬ºconstant(20)]();
  97.                      }
  98.                   }
  99.                   if(_root[┬º┬ºconstant(15)][┬º┬ºconstant(12)](_root[┬º┬ºconstant(26)]))
  100.                   {
  101.                      _root[┬º┬ºconstant(26)][┬º┬ºconstant(17)](┬º┬ºconstant(16));
  102.                      _global[┬º┬ºconstant(18)] += 1;
  103.                      if(_global[┬º┬ºconstant(19)] == 1)
  104.                      {
  105.                         eval(┬º┬ºconstant(5))[┬º┬ºconstant(20)]();
  106.                      }
  107.                   }
  108.                   if(_root[┬º┬ºconstant(15)][┬º┬ºconstant(12)](_root[┬º┬ºconstant(27)]))
  109.                   {
  110.                      _root[┬º┬ºconstant(27)][┬º┬ºconstant(17)](┬º┬ºconstant(16));
  111.                      _global[┬º┬ºconstant(18)] += 1;
  112.                      if(_global[┬º┬ºconstant(19)] == 1)
  113.                      {
  114.                         eval(┬º┬ºconstant(5))[┬º┬ºconstant(20)]();
  115.                      }
  116.                   }
  117.                   if(_root[┬º┬ºconstant(15)][┬º┬ºconstant(12)](_root[┬º┬ºconstant(28)]))
  118.                   {
  119.                      _root[┬º┬ºconstant(28)][┬º┬ºconstant(17)](┬º┬ºconstant(16));
  120.                      _global[┬º┬ºconstant(18)] += 1;
  121.                      if(_global[┬º┬ºconstant(19)] == 1)
  122.                      {
  123.                         eval(┬º┬ºconstant(5))[┬º┬ºconstant(20)]();
  124.                      }
  125.                   }
  126.                   if(_root[┬º┬ºconstant(15)][┬º┬ºconstant(12)](_root[┬º┬ºconstant(29)]))
  127.                   {
  128.                      _root[┬º┬ºconstant(29)][┬º┬ºconstant(17)](┬º┬ºconstant(16));
  129.                      _global[┬º┬ºconstant(18)] += 5;
  130.                      if(_global[┬º┬ºconstant(19)] == 1)
  131.                      {
  132.                         eval(┬º┬ºconstant(5))[┬º┬ºconstant(20)]();
  133.                      }
  134.                   }
  135.                });
  136.                ┬º┬ºconstant(13)();
  137.                if(eval("ah{invalid_utf8=217}-")[┬º┬ºconstant(31)][┬º┬ºconstant(12)](eval(┬º┬ºconstant(7))[┬º┬ºconstant(30)]))
  138.                {
  139.                   set(┬º┬ºconstant(32),1);
  140.                }
  141.                else
  142.                {
  143.                   set(┬º┬ºconstant(32),0);
  144.                }
  145.                if(eval(┬º┬ºconstant(7))[┬º┬ºconstant(34)][┬º┬ºconstant(12)](getProperty(┬º┬ºconstant(10), _X) - getProperty(┬º┬ºconstant(10), _width) / 2 - eval(┬º┬ºconstant(33)),true))
  146.                {
  147.                   set(┬º┬ºconstant(35),1);
  148.                }
  149.                else
  150.                {
  151.                   set(┬º┬ºconstant(35),0);
  152.                }
  153.                if(eval(┬º┬ºconstant(36))[┬º┬ºconstant(37)](39) && eval("ah{invalid_utf8=217}-")[┬º┬ºconstant(38)] != 15 && eval("ah{invalid_utf8=217}-")[┬º┬ºconstant(38)] != 20)
  154.                {
  155.                   setProperty(┬º┬ºconstant(10), _xscale, eval(┬º┬ºconstant(39)));
  156.                   if(eval(┬º┬ºconstant(7))[┬º┬ºconstant(11)][┬º┬ºconstant(12)](getProperty(┬º┬ºconstant(10), _X),getProperty(┬º┬ºconstant(10), _Y) + 3,true))
  157.                   {
  158.                      eval("ah{invalid_utf8=217}-")[┬º┬ºconstant(17)](┬º┬ºconstant(40));
  159.                   }
  160.                }
  161.                else if(Key.isDown(37) && this._currentframe != 15 && this._currentframe != 20 && this._currentframe != 35)
  162.                {
  163.                   _xscale = - scale;
  164.                   if(_root.ground.hitTest(_X,_Y + 3,true))
  165.                   {
  166.                      this.gotoAndStop("run");
  167.                   }
  168.                }
  169.                else if(_root.ground.hitTest(_X,_Y + 3,true) && this._currentframe != 15 && this._currentframe != 20 && this._currentframe != 35)
  170.                {
  171.                   this.gotoAndStop("idle");
  172.                }
  173.                if(this.hitTest(_root.lvl1bound))
  174.                {
  175.                   _root.gotoAndStop("level1-mini");
  176.                }
  177.                if(this.hitTest(_root.miniBoundEnd))
  178.                {
  179.                   grav++;
  180.                }
  181.                if(this.hitTest(_root.miniBoundEnd2))
  182.                {
  183.                   _root.gotoAndStop("level1complete");
  184.                }
  185.                if(_root.char.hitTest(_root.miniBound))
  186.                {
  187.                   this.gotoAndStop("fall");
  188.                   grav++;
  189.                   if(grav > 10)
  190.                   {
  191.                      grav = 10;
  192.                   }
  193.                   rotation = 0;
  194.                   if(Key.isDown(37) && this._currentframe != 15 && this._currentframe != 20)
  195.                   {
  196.                      _rotation--;
  197.                      xspeed -= power;
  198.                   }
  199.                   if(Key.isDown(39) && this._currentframe != 15 && this._currentframe != 20)
  200.                   {
  201.                      _rotation++;
  202.                      xspeed += power;
  203.                   }
  204.                   xspeed = (xspeed + wind) * friction;
  205.                   _X = _X + xspeed;
  206.                }
  207.                if(_root.fallDeath.hitTest(_X,_Y,true))
  208.                {
  209.                   _root.sfx.gotoAndStop("fallDeath");
  210.                   _global.deathtype = 1;
  211.                   this.gotoAndPlay("fall");
  212.                }
  213.                damaged = 0;
  214.                if(!damaged && this._currentframe != 25 && this._currentframe != 30)
  215.                {
  216.                   if(_root.enemy.attackHit.hitTest(this.hitboxLevel))
  217.                   {
  218.                      damaged = 1;
  219.                      this.gotoAndStop("damage_1");
  220.                   }
  221.                }
  222.                if(this._currentframe != 25 && this._currentframe != 30)
  223.                {
  224.                   damaged = 0;
  225.                }
  226.                if(_root.death.hitTest(_X,_Y,true))
  227.                {
  228.                   _root.gotoAndStop("death");
  229.                }
  230.                if(_root.bridgeBeam.hitboxBridge.hitTest(_root.char.hitboxLevel))
  231.                {
  232.                   _root.arrowHelp.gotoAndStop(2);
  233.                }
  234.                if(_root.bridgeBeam.hitboxBridge2.hitTest(_root.char.hitboxLevel))
  235.                {
  236.                   _root.arrowHelp.gotoAndStop(2);
  237.                   _root.bridgeBeam.gotoAndPlay(2);
  238.                   _root.ground.gotoAndPlay(2);
  239.                }
  240.                if(Key.isDown(p) && !paus3)
  241.                {
  242.                   _root.pauseMenu.gotoAndStop(5);
  243.                   _root.paus3 = 1;
  244.                }
  245.                if(Key.isDown(38) && _root.ground.hitTest(_X,_Y + 3,true))
  246.                {
  247.                   grav = - jumpHeight;
  248.                   _Y = _Y - 4;
  249.                   this.gotoAndStop("jump");
  250.                   if(_root.sfxjc._currentframe <= 20)
  251.                   {
  252.                      _root.sfx.gotoAndPlay("jump1");
  253.                   }
  254.                   if(_root.sfxjc._currentframe >= 20)
  255.                   {
  256.                      _root.sfx.gotoAndPlay("jump2");
  257.                   }
  258.                }
  259.                if(!Key.isDown(39) && !Key.isDown(37) && !Key.isDown(38) && !jumping)
  260.                {
  261.                   attack = 0;
  262.                   if(!attack && this._currentframe != 10)
  263.                   {
  264.                      if(Key.isDown(32))
  265.                      {
  266.                         this.gotoAndStop("attack_1");
  267.                         attack = 1;
  268.                      }
  269.                   }
  270.                   if(this._currentframe != 15 && this._currentframe != 20)
  271.                   {
  272.                      attack = 0;
  273.                   }
  274.                   if(_root.ground.hitTest(_X + _width / 1 + ex,_Y - _height,true) || _root.ground.hitTest(_X + _width / 1 + ex,_Y - _height,true) || _root.ground.hitTest(_X + _width / 1 + ex,_Y - _height,true))
  275.                   {
  276.                      _X = _X - speed;
  277.                      if(Key.isDown(38))
  278.                      {
  279.                         grav = - jumpHeight;
  280.                         _Y = _Y - 4;
  281.                         this.gotoAndStop("jump");
  282.                         if(_root.sfxjc._currentframe <= 20)
  283.                         {
  284.                            _root.sfx.gotoAndPlay("jump1");
  285.                         }
  286.                         if(_root.sfxjc._currentframe >= 20)
  287.                         {
  288.                            _root.sfx.gotoAndPlay("jump2");
  289.                         }
  290.                      }
  291.                   }
  292.                   if(_root.ground.hitTest(_X,_Y - _height - 15,true))
  293.                   {
  294.                      grav = 1;
  295.                   }
  296.                }
  297.                if(!attack && this._currentframe != 10 && this._currentframe != 15 && _root.specialBar._currentframe == 5 && !Key.isDown(39) && !Key.isDown(37))
  298.                {
  299.                   if(Key.isDown(a))
  300.                   {
  301.                      this.gotoAndStop("attack_2");
  302.                      attack = 1;
  303.                      _root.specialBar.gotoAndStop(1);
  304.                   }
  305.                }
  306.             }
  307.             break;
  308.          }
  309.          if(eval("\x01") == 1)
  310.          {
  311.             set("\x01",eval("\x01") + 783);
  312.          }
  313.          else if(eval("\x01") == 566)
  314.          {
  315.             set("\x01",eval("\x01") - 86);
  316.             if(function ┬º\x01\x02┬º()
  317.             {
  318.                return 1727 % 511 * 5;
  319.             })
  320.             {
  321.                set("\x01",eval("\x01") - 61);
  322.             }
  323.          }
  324.          else if(eval("\x01") == 419)
  325.          {
  326.             set("\x01",eval("\x01") + 365);
  327.          }
  328.          else
  329.          {
  330.             if(eval("\x01") == 480)
  331.             {
  332.                set("\x01",eval("\x01") - 61);
  333.                break;
  334.             }
  335.             if(eval("\x01") == 784)
  336.             {
  337.                set("\x01",eval("\x01") - 268);
  338.                ┬º┬ºpush("\x0f");
  339.                ┬º┬ºpush(1);
  340.             }
  341.             else if(eval("\x01") == 193)
  342.             {
  343.                set("\x01",eval("\x01") + 601);
  344.             }
  345.             else if(eval("\x01") == 83)
  346.             {
  347.                set("\x01",eval("\x01") + 859);
  348.                ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  349.                {
  350.                   return 1727 % 511 * 5;
  351.                }));
  352.             }
  353.             else if(eval("\x01") == 516)
  354.             {
  355.                set("\x01",eval("\x01") + 137);
  356.                var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  357.                {
  358.                   return 1727 % 511 * 5;
  359.                };
  360.             }
  361.             else
  362.             {
  363.                if(eval("\x01") == 236)
  364.                {
  365.                   set("\x01",eval("\x01") - 236);
  366.                   break;
  367.                }
  368.                if(eval("\x01") == 653)
  369.                {
  370.                   set("\x01",eval("\x01") - 570);
  371.                   ┬º┬ºpush("\x0f");
  372.                }
  373.                else
  374.                {
  375.                   if(eval("\x01") != 942)
  376.                   {
  377.                      break;
  378.                   }
  379.                   set("\x01",eval("\x01") - 25);
  380.                   ┬º┬ºpush(!function ┬º\x01\x02┬º()
  381.                   {
  382.                      return 1727 % 511 * 5;
  383.                   });
  384.                }
  385.             }
  386.          }
  387.       }
  388.    }
  389. }
  390.